package work.work70;

/**
 * 盗贼
 */
public class Robber extends People implements Rob,Attack{
    public Robber(){}
    public Robber(String name,int level){
        super(name,level);
    }
    public void rob(){
        System.out.println("可以偷盗");
    }

    @Override
    public void attack() {
        System.out.println("可以攻击");
    }
}
